#include "../include/packet.h"
using namespace std;

Packet::Packet(const byte_t* _data, size_t _size) {
	for(unsigned int i = 0; i < _size; i++)
		data.push_back(_data[i]);
}

byte_t* Packet::getData() {
	return data.data();
}

size_t Packet::size() {
	return data.size();
}
